package com.epfuse.cloud.dfs.minio.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author : 孙峰
 * @Description:
 * @Date : 2022/9/22  11:38
 */
@Component
@Data
@ConfigurationProperties("minio")
public class FilesConfig {
    /**minio的路径**/
    private String endpoint;

    /**minio的accessKey**/
    private String accessKey;

    /**minio的secretKey**/
    private String secretKey;

    /**下载地址**/
    private String httpUrl;

    /**图片大小限制**/
    private Long imgSize;

    /**文件大小限制**/
    private Long fileSize;

}
